﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/10/12 10:07:58
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace YoucaiReader.Entities
{
    public class BookChapterListModel : INotifyPropertyChanged
    {
        public int _chapterList_Index;
        private string _chapterList_Title;

        public event PropertyChangedEventHandler PropertyChanged;

        protected void NotifyPropertyChanged(string thePropertyName)
        {
            if (this.PropertyChanged != null)
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(thePropertyName));
            }
        }

        public int ChapterList_Index
        {
            get
            {
                return this._chapterList_Index;
            }
            set
            {
                this._chapterList_Index = value;
                this.NotifyPropertyChanged("ChapterList_Index");
            }
        }

        public string ChapterList_Title
        {
            get
            {
                return this._chapterList_Title;
            }
            set
            {
                this._chapterList_Title = value;
                this.NotifyPropertyChanged("ChapterList_Title");
            }
        }
    }
}